package com.acmen.easyapi.dto;


import java.time.LocalDateTime;

/**
 * @author acmen
 * 单元测试
 */
public class UnitTestAdd {
    private String id;//ID
    private String appName;
    private String apiId;//接口ID
    private String name;//测试数据名
    private String path;//请求路径
    private String method;//请求方法
    private String params;//请求参数数据
    private String body;//请求体数据
    private String result;//响应数据
    private LocalDateTime createDt = LocalDateTime.now();//创建时间
    private String headers;//请求头部信息
    private boolean joinPressureTest;

    public String getId() {
        return id;
    }

    public UnitTestAdd setId(String id) {
        this.id = id;
        return this;
    }

    public String getAppName() {
        return appName;
    }

    public UnitTestAdd setAppName(String appName) {
        this.appName = appName;
        return this;
    }

    public String getApiId() {
        return apiId;
    }

    public UnitTestAdd setApiId(String apiId) {
        this.apiId = apiId;
        return this;
    }

    public String getName() {
        return name;
    }

    public UnitTestAdd setName(String name) {
        this.name = name;
        return this;
    }

    public String getPath() {
        return path;
    }

    public UnitTestAdd setPath(String path) {
        this.path = path;
        return this;
    }

    public String getMethod() {
        return method;
    }

    public UnitTestAdd setMethod(String method) {
        this.method = method;
        return this;
    }

    public String getParams() {
        return params;
    }

    public UnitTestAdd setParams(String params) {
        this.params = params;
        return this;
    }

    public String getBody() {
        return body;
    }

    public UnitTestAdd setBody(String body) {
        this.body = body;
        return this;
    }

    public String getResult() {
        return result;
    }

    public UnitTestAdd setResult(String result) {
        this.result = result;
        return this;
    }

    public LocalDateTime getCreateDt() {
        return createDt;
    }

    public UnitTestAdd setCreateDt(LocalDateTime createDt) {
        this.createDt = createDt;
        return this;
    }

    public String getHeaders() {
        return headers;
    }

    public UnitTestAdd setHeaders(String headers) {
        this.headers = headers;
        return this;
    }

    public boolean isJoinPressureTest() {
        return joinPressureTest;
    }

    public UnitTestAdd setJoinPressureTest(boolean joinPressureTest) {
        this.joinPressureTest = joinPressureTest;
        return this;
    }
}
